Solution for Exercise 01 tasks 1, 2 and 3