A program to solve single word anagrams