changed code to read letter-by-letter
implemented all letters
changed searching algorithm
fixed bugs. improved search speed