TocExtract: Extracts Table of Content from a PDF
This is implemented for the specific case of the pdf in https://github.com/coinbase/cb-mpc/tree/master/docs. To run the tests, download https://github.com/coinbase/cb-mpc/blob/master/docs/spec/zk-proofs-spec.pdf at 3e54547 to the root directory.