This is my test first solution in ruby