added the index file for lab 7
fix the error in the index.php file for lab 7