Wrote functions and comments
Merge https://github.com/cfiertz/ProgrammingAssignment2
Wrote functions and comments