Working version of Scrabble Algo