Project Euler problems in coffeescript