Moved Chapter 1 code to own folder.

Compartmentalizing the code into their relevant chapters.