added scrabble cheater function
and isPermutation function