Haskell solution to compute best possible score in Yahtzee.