Updates to Queue to add a tailPtr.  Completion of enqueue, and beginning of dequeue.