project euler in java