initial answer to sum of multiples in ruby