arithmetic in ruby