porting of sharpscrabble (https://code.google.com/p/sharpscrabble/) to python for didactic pourpose