python prgram to read a file, list all anagrams together