Implement Dice and add javadoc