Added book example code from ruby day3