sample implementation
	modified:   exercises/chap2/q0006.py