added a comment to explain the the arePermutaion method