Download the free simple theme online and copy it to your work folder.There will be only one index file in which all html is contained starting from header to footer.Doing a php programming in that file would be pretty difficult and unorganised and the code would be very untidy.So,the challenge is to dismantle the theme into more pieces using simple php.
Sollution is attached bellow