Queue sample

Working sample of a queue set up as an array
Write buffer could build on it