Following the exercises from Learn Ruby The Hard Way