allow astar to use grid weight instead of a fix value (1 and SQRT2)
Merge pull request #20 from pierredavidbelanger/weighted_astar

Weighted astar