State 1: Robot searches for a red block.
State 2: Robot approaches red block. If it loses sight of it before reaching it, it resumes looking for the red block.
State 3: Robot pushes red block out of the way (until it can't see it anymore), then starts looking for a green block
State 4: Robot searches for a green block.
State 5: Robot approaches green block. If it loses sight of it before reaching it, it resumes looking for the green block.
State 6: Robot pushes red block out of the way (until it can't see it anymore), then flashes its LEDs and screams in victory.