Added homework3.0 code to start adding for homework4.0 code