Exercise 03
algorithm 03