Valid Anagram Leetcode Python Solution