removed unneeded Intialization.
added the FiniteRing class. it represents a size-limited ring that drops the oldest element when its maximum size is reached and a new value is added.
implemented auto reset. fixes #1