decide if one string is a permutation of another