Add skeleton codes for hw2.