update PA1_template and generate .html and .md files