Update majoritynumber.java