added docstrings to dice.py