obeying numRoutes, started on lab report