my answers to euler problems in javascript