refactor interation count to be a boolean
remove necessity to walk route after we have the shortest one