Exercise 3 Introducing valgrind