scrabble-score: Adopt functional style

As discussed in #79.
Merge pull request #92 from sjakobi/functional-scrabble-score

scrabble-score: Adopt functional style