this algorethm is perfect with the big Strings and about 80% with the small Strings but it will work in any case the problem in inserting chars in the hash