worked out the replacement-loop
Merge branch 'master' of https://github.com/altschuler/a-star
derp