Exercise from agile ruby