Chapter 2 part 2
testing the accumulator functions
use the JS console to see output (shortcut: F12)