Create problem1.js

This is the answer to the first problem for Project Euler