repeatStr function

Repeat a string a number of times