Implement isAnagram from zulily phonescreen