added hw2 and hw3