Access Control System: Validate ID and Ticket - C Exercise