Simple Scrabble-like letter/word calculations (Ruby class/test demo).