Exercise 1 fully working with test file