Debugging exercise 6