ruby test code. mostly to learn various ruby concepts and testing out some basic language features.