Rudimentary escape AI