craps program in scala