A program to determine the shortest repetition in a string.