Update median.java