add initial libraries
implement demaine et al tree edit distance algorithm