Added functionality in dice class

haha