Debugging routesearch.py -- not sure what addDistance on line 103 means