Adding an init method and logic to roll the dice