f**** pathfinding

Just spent like 3 hours trying to implement pathfinding.  It sort of works, but still has some bugs.  At least the hard part of that is over.

Game looking like this at the moment: