sample programs to learn ruby