Get Maximum Value From Array Java