Added methods to test if strings are permutations of each other