Exercise 2-5.

Repeat a given string, a given number of times.