Created a gen.py file to generating the .thml files from .md