Basic code finished, now have functional FIFO buffer.