Fixed and tested pathfinding for 2D.

- Fixed a bug where a setBlockAt(x,y,z,0) did not clear the
canWalkThrough data.
- Fixed all outOfBounds errors. Enemies will now do nothing when you run
out of the map.