A* fixes

Almost solved, tests hinge on line 203, comment it out and more tests
pass but fail in different spots than originally. Added toString method
for fringe.