Added a html version (not working yet). Cleaned up some formatting in the Python version.