Added the ability to Astar search using pre-defined heuristics