Dice Throw Leetcode Dynamic Programming