Updated basic ruby program