Getting Started with JUCE Chapter 2 exercise 7