Inserted starter code. Wrote first three functions.
Added and tested next 3 functions
Added last 2 functions, completed working version