Computer simulations of mismatched dice
1. Write a computer program to compute the probability distribution for the sum of two dice when each die has an arbitrary number of sides. Run your program for dice of four and six sides.
2. Modify the computer program you wrote for the previous problem to compute the probability distribution for the sum of three dice when each die has an arbitrary number of sides. Run your program once for all dice having six sides, and once for any combination you think is interesting.