Exercise 02 finished and working for all test cases