Added PA1_template code.