final submission for homework3