Create TicketMachine.java