fixed operators
modified
new implementation, astar works but not optimal perf, tests missing, tree missing