Ruby sample programs