Java solution for Problem 1

Using another language to solve https://projecteuler.net/problem=1