initial answer to raindrops in ruby