added regex to find shortest repetitions, test passes
Fixed function to account for case in which there are no repeats, returns len of string instead. all cases pass
Merge pull request #32 from johnshiver/shortest_repetition

Shortest repetition