Basic implementation of a LIFO structure which forgets old values. Not
tested yet.