Improved RingBuffer interface and fixed bug
ConsoleProgressBar uses long instead of int
Added class MovingAverage