Click on the Sprite to start the program (there is a one second delay). Click on the flag to reset the program.
The functional part of this program uses only the ten blocks listed, multiple times. However, I used other blocks in order to have the flag act as a reset button.