Minor corrections with A*

Checks the G value instead of F
Bench.html now constantly check for the shortest path and display it.