For printing nodes from left to right , simply print the nodes in the order in which they are being popped out from the queue .
if ( rightToLeft == false ) System . out . print ( temp . data + " ▁ " ) ;