problem 7, coffeescript