fix syntax for dice spec
add code for dice roll