public static <T extends Comparable<T>, E> String delete(Node<T,E> toBeDeleted){
		String output = null;
		
		Node<T,E> toBeDeletedParent = toBeDeleted.getParentNode();
		if(toBeDeleted.getParentNode() !=null){
			T toBeDeletedValue = toBeDeleted.getValue();
			T parentLeftNodeValue  = toBeDeletedParent.getLeftNode()!=null? toBeDeletedParent.getLeftNode().getValue() : null;
			T parentRightNodeValue = toBeDeletedParent.getRightNode()!=null? toBeDeletedParent.getRightNode().getValue() : null;
			
			if(parentLeftNodeValue!=null && toBeDeletedValue.compareTo(parentLeftNodeValue)==0){
				toBeDeleted.getParentNode().setLeftNode(null);
				output= LEFT;
			} else if(parentRightNodeValue !=null && toBeDeletedValue.compareTo(parentRightNodeValue)==0){
				toBeDeleted.getParentNode().setRightNode(null);
				output= RIGHT;
			}
		}
		toBeDeleted.setParentNode(null);
		
		return output;
	}