updated dice.lua example (to test bindings)