add homework 2 with part A and part of part C