A simple Table of Contents generator for Markdown documents, written in Python