License MIT. Page replacement FIFO, LRU added