astar working, manhattan distance
move uniform cost to generic search