Organizeed code into Chapters according to the book