examples from GDI ruby intro class 1