Dice problem for midterm2