public Comparable getLargestKid(int n)
    {    
        Comparable leftChild = getLeftKid(n);
        Comparable rightChild = getRightKid(n);
        
        if (rightChild == null && leftChild == null)
        {
            return null;
        }
        if (rightChild == null)
        {
            return leftChild;
        }
        
        if (leftChild == null)
        {
            return rightChild;
        }
        
        if (isFirstBigger(leftChild, rightChild))
        {
            return leftChild;
        }
        else
        {
            return rightChild;
        }
    }