Chapter 6 first exercise

Others will follow later.
Merge branch 'master'

Conflicts:
	chapter6.hs