Committing exercise 3 from chapter 8
Merge branch 'master' of https://github.com/HenrikSamuelsson/c_primer_plus_solutions