Completed and working Craps code