My attempt to learn ruby