private void getAll(TreeNode node) {
		int l = 0;
		int r = 0;
		int p = 0;

		if (node.left != null) {

			l = node.left.key;

		}

		if (node.right != null) {

			r = node.right.key;

		}

		if (node.parent != null) {

			p = node.parent.key;

		}

		HashPrinter.treeNode(node, l, r, p);

		if (node.left != null) {

			getAll(node.left);

		}

		if (node.right != null) {

			getAll(node.right);

		}
	}