added longest repeated substring algorithm
Revert "added longest repeated substring algorithm"

This reverts commit 686514eef9a8e37f47c546172b5972f2ccdb2f2c.