City Distance Calculator C++