added program to record the result of dice throws