added chapter2 and chapter3 solutions