Hackerrank Anagram problem
Minor changes