Ch2 Exmp3

Finished example 3