homework lecture 3 both done, need to review before submitting