added logic for pathfinding. Tests work except for 5. 2 give NPExceptions, 3 fail due to some needed structural changes pertaining to doors detecting direction and adjacency properly.