Update index.py

Adding <head> </head> tags, and the stuff between