Searching cloverleafs in a forrest II

Extend your program from task 4 so that Kara can deal with several trees next to each other. Hint: The solution to this task requires two states. Why is a single state not enough?