updated homework 4
updated