add function to determine if 2 input strings are permutations of each other