Update Periodic Strings_Accepted.cpp