solution problem1

solve euler problem nr. 1 in node.js