Here is another example of FIFO, this time with 3 available frames:
FIFO page-replacement algorithm. Taken from Bell, John T. "Virtual Memory." University of Illinois, Chicago.