Pre-course pure ruby exercise