Added edge detection test project and some basic pathfinding code.

Edge detection code is not usable yet, pathfinding code definitely is (I think).