simple ruby programs to test language features