@Override
    public String toString()
    {
        String result = "";
        for (int i = 0; i < heapSize; i++)
        {
            if (isBase2(i+1) && i != 0) result += "\n";
            result += array[i] + ", ";
        }
        result += "\n---";
        return result;
    }