added my code and text. added the text from the other file too.
Merge pull request #22 from Lasher09/chapter1code

added my code and text. added the text from the other file too.