Adding code optimization chapter.