how do i find the number of items in a circular queue?
|front - rear| doesnt always work.
is there one equation to know how many element is in a cir
no. of elements = (rear + MAX_SIZE - front) % MAX_SIZE + 1