4 digit armstrong number in java