Update Longest Repeated Substring.cpp