Update GridWorld.java

It's better like this because the mutex is unlocked and this is shorter
Merge