Program takes a number sided die and calculates a result