Added chapter one code snippets