astar: Mark node before processing its adjacent nodes.
Merge branch 'master' of github.com:mewcs/alpha