Implemented ticket use and made a traveler be dequeued when the train he was waiting ariives