Assignment 4: implement craps game rule