add mk_toc

make table of contents of a dir