Added dequeue and size methods to queue class