Add solution to 'Shortest Repetition' puzzle