Kara walks straight ahead until there is a tree to his left and right.
while not (kara.treeLeft() and kara.treeRight()): kara.move()