Changing Queue class to keep track of in and out times of members of the Queue