jesus, day 3 of #AoC2017 looks bloody difficult
@calvin Definitely looks to require more thought than programming. Math solution for part 1 doesn't look so bad.
@micah I managed to implement Ulam's spiral (jn the least functional way possible) - now I need to implement the damn pathfinding algorithm...
@calvin Nice, I did some math computing the shell layer and offset from the center, but it's no help at all for part 2, where your spiral impl may be.
@micah well, I'm also running into possible stdlib limitations with 2D arrays, ugh