Create Averager.java

Class written by the authors of the text.