Allow any number of TOC levels.
Merge pull request #19 from macnuts/toc_fix

Allow any number of TOC levels.