updated homework 3

updated homework 3