updated the ship to turn around if the way forward is blocked