Working through the project Euler questions in Javascript. Just to learn the language