C Programming Homework Help on Dice Game