do problem 1 in ruby
finish problem 1 in js
Merge pull request #1 from paopay/prob1

Prob1