Anagram checker program