Update TicketMachine.java