getneighbors method
v0.1 astar