Practical: Builds a custom `Repeat` loop control structure that executes an action a specified number of times.