Mastermind.html to index.php, changes on how to show the output, css changes using template

- changed main page to index.php
-added new game button
- added template
- added more comments
- added  count to show how many tries are left