Solution to the Yahtzee assignment in CS106A, Programming Methodology, as taught on iTunesU