convert code to use anonymous block
Chapter 28 2nd challenge complete
correct error leading to multiple copies of the block message printing