Update MajorityElement.java