Exercise: Loops and Functions

Make code a bit more concise.