A queue item ( Stores pointer tonode and an integer )
public class qItem { public Node node ; public int depth ; public qItem ( Node node , int depth ) { this . node = node ; this . depth = depth ; } }