Add naive AST construction algorithm

* Added the AST subclass that constructs the annotated suffix tree using
  a naive algorithm running in O(n^2) - for experimenting purposes.
* Introduced an abstract class AnnotatedSuffixTree, which is the base class
  for both linear and naive AST implementations.