public Node insertNewNode(Node root, int element) {
		if (root == null) {
			// create new node for element
			Node newNode = new Node(element);
			return newNode;
		}
		Node temp = root;
		while (temp != null) {
			if (temp.data < element) {
				if (temp.right == null) {
					temp.right = new Node(element);
					break;
				}
				temp = temp.right;
			} else if (temp.data > element) {
				if (temp.left == null) {
					temp.left = new Node(element);
					break;
				}
				temp = temp.left;
			}
		}
		return root;
	}