now recursive path finding functions work somewhat which is cool.