A basic dice program