euler 1 in javascript
euler 1 in ruby
euler 15 in ruby