question four code
question one code