Update World.java

I've added isAdjacent and isImpassable