initial commit for homework 2 solution