adding hw2 and hw7