work on fixing findRoutes and findLongestRoutes logic