Revision 11
Added code to calculate and display the average length of each queue