Deleted useless stuff

Deleted BFSNode to use Way instead, deleted distanceVec2 because we have
no use for it.