private void heap_up(Binarynode node) {
        if (node == root) {
            return;
        }

        int valuehelper;
        if (node.parent.value > node.value) {
            valuehelper = node.value;
            node.value = node.parent.value;
            node.parent.value = valuehelper;
        } else {
            return;
        }
        heap_up(node.parent);

    }