Updated the first half of NumAverage.java