Add chapter-4 solutions