Slot Machine for Assignment2