Simple Example Moving Average Algorithm

Implementation of the moving average algorithm.