The train reservation kata in ruby