MVP anagram.js
refactored to helper methods
grade school ruby