problem 9, coffeescript