Problem 15 [CoffeeScript] (Tree)