add main to repeat_str
Merge pull request #77 from jschaf/fix-repeat

add main to repeat_str