Create a clickable table of contents

The title explains it. Each heading in the table of contents is now clickable.