proverb exercise
updated anagram.rb to improve readability based on nitpick