Maximize g-value as secondary key in the heap comparator function in A*
implementation.
Merge pull request #44 from dementati/incoming

Pathfinding optimization (revised)