Added Project Euler solutions 1-3

Added solutions to problem 2 and 3 in javascript and java
merge