Library for the moving average homework