Added logic for rolling the dice