added ctime header for clock() and CLOCKS_PER_SEC
Merge pull request #25 from bonsu/master

Updated template.cpp to include ctime header