completed 29 in ruby
trying js and clj