Add solution for #455 Periodic Strings