elementary ruby program (puts, get, basic tests)