Function to print a level of the Set
function print ( temp ) { while ( temp != null ) { document . write ( " " + temp . start . toFixed ( 6 ) + " " + temp . end . toFixed ( 6 ) + " " ) ; temp = temp . next ; } document . write ( " " ) ; }