An implementation of A* Search in C++