Solution to morning anagrams exercise 12/17/2014