Lab8: The subway control system