Update HITGeneration.py

Changed the HTML (HIT generation) code.  It's a rough draft, I wanted to preserve the same line number from the file I was working with.