Anvilogic interview question

Implement a FIFO from scratch