Sum of the itegers with java