simple ruby sample program work in progress