Implement scoring algorithm for ranking of poker hands, and add tests for it.