Added all chapters' code