Ruby programming exercises from Learn Ruby The Hard Way