Copy of hw2 into hw3