public static <T extends Comparable<T>, E> int height(Node<T,E> node){
		int height = 0;
		
		if(node==null){
			height = 0;
		} else if(node.getLeftNode()== null && node.getRightNode()== null){
			height = 1;
		} else if(node.getLeftNode()!= null && node.getRightNode()== null){
			height =1 + height(node.getLeftNode()); 
		} else if(node.getLeftNode()== null && node.getRightNode()!= null){
			height =1 + height(node.getRightNode()); 
		} else if(node.getLeftNode()!= null && node.getRightNode()!= null){
				height = 1 + Math.max(height(node.getLeftNode()), height(node.getRightNode()));
		}
		
		return height;
	}