detects what the letter is and if it matches a word in view