CHOMP THE FRUITS LOOPS

The hungry monster wants to reach to the fruit but has the same obstacles repeated on his way. Use the loop function so that the monster can repeat the same actions to overcome the obstacles and eat the fruit.