Added simple implementation of the recency buffer