fixed astar and added astar_mouse(not finished)
fixed astar and added astar_mouse(not finished)