Added function queueWaitTime.
Updated haddock comments. Now the Queue type is ready for testing.