Minor changes.
check_dice utility added.