added longest repeated subsequence function. however, memory requirement is a hindrance.
added naive way of creating suffix tree (from suffix trie). works but takes just as much memory as a trie.