Implement walls

The player can no longer walk through a wall or off the map.