n is the number of sides on each die