add multiples of a number in java src