An implementation of optt from "Optimized Substructure Discovery for Semi-structured Data" by Kenji Abe, et al.