Update Average.java

fixed initial values of min and max.