Exercise 3: basic working program
Finished exercise 3