Update World.java

Implemented wall collisions to prevent karel from moving on a wall.