project euler solutions using java