anagram: Check for same length

If the two input strings are not of the same length, it cannot be an anagram.