Corrected bounds check
Corrected bounds check

jjviscomi/javascript-astar,cipix2000/javascript-astar,bgrins/javascript-astar,jjviscomi/javascript-astar,cipix2000/javascript-astar,antonytrupe/javascript-astar,bgrins/javascript-astar,glutamatt/javascript-astar,Lucas-naceri/javascript-astar,asbien/javascript-astar,glutamatt/javascript-astar,seanohue/javascript-astar,asbien/javascript-astar,antonytrupe/javascript-astar,seanohue/javascript-astar,Lucas-naceri/javascript-astar