starting on exercise #1 - but i think i did it wrong
exercise #1 - after viewing solution and tweaking mine
exercise #2 - that seemed a lot easier
exercise #3
exercise #4
small cleanup after viewing solution
exercise #5
small tweak after viewing solution