Submitted hw2.