Reformatting/reorganizing a little.

Next up, a proper pathfinding algorithm (A*, probably, because, hey, A*!).
Added A* pathfinding algorithm.

I'm going to pull out the algorithms from z_algs and put them into their
own package.