My refactored Yatzy implementation