answers to Exercism's Ruby track