Fall 2014, HW 3, exercises 1-6
Implement exercises 7 and 8
Add alternate solution for exercise 8