Code for a "Jump Point Search, Explained" post on zerowidth.com