Python implementation of a scrabble solver