Return to index

Edit the code for different results. I have left comments in the page source. There are also different versions of the code used in testing.