5. Design Templates, Randomness and For-loops