dice box code for arduino