Robot learns to play dirty Scrabble