Solution to CodeCombat's Gridmancer problem