Added documentation to Queue class and related classes.