add fifo exercise solution