Learning basic Ruby programming