Longest Repeated Substring | Loopa