The program now takes input as separate words, not lines.
Now can use search for anagrams for several words.
Added input word limit