NodeThread(int uid,int outNeighbors[]){
		this.round = 0;
		this.uid = uid;
		this.maxUidSeen = uid;
		this.parentUid = uid;
		this.outNeighbors = outNeighbors;
		this.acksFromOutNeighbors = new boolean[this.outNeighbors.length];
		this.child = new LinkedList<Integer>();
		for(int i=0; i<this.outNeighbors.length; i++){
			this.child.add(this.outNeighbors[i]);
		}
		this.notChild = new LinkedList<Integer>();
		this.done = false;
		this.messagesToBeSent = new Message[this.outNeighbors.length];
		for(int i=0; i<this.outNeighbors.length; i++){
			this.messagesToBeSent[i] = new Message(this.uid,this.outNeighbors[i],this.maxUidSeen,Type.update,1);
		}
	}