Chapter 3 Ruby tutorial