added BinaryTree with templates
 and classes for inverted index