setting up aStar with straightLineDistance heuristic