Scrabble implemented in scala