Added print statements to Line and Queue