Java Get Max Value From Int Array To Integer