an iterative coffeescript solution
Merge pull request #140 from denheck/master

an iterative coffeescript solution