Template for homework 3