added hw3 and lectures 7 and 8