Moved dist into helper.py and added length method for Route
Changed match_route_dp
second comparation from len(route) --> route.length