ex1
final code for exercise 3
Merge remote-tracking branch 'origin/master'