how to convert integer number to array in java