Kara walks straight ahead until there is a tree to his left and right.
public void myProgram() { while (! (kara.treeLeft() && kara.treeRight())) { kara.move(); } }