Queue of ints implementation.