extracted subfunction lookForLavaOrGoOn() to improve behavior of the turtle