Added total miles, also fixed bug in BFS initialization.