Completed Averager

I wrote the code to complete a averager machine