Filling out working A* algothrim. Can travel left, upper left, and lower left.