Made some minor changes to index.php and added some code to be able to debug this file. Tagged current version of source as homework1.