additional idea of creating .repeat for String