wrote algorirthm that returns true if two NSStrings are permutations of one another