@Override
    public MybigInteger exponent(MybigInteger second) {

        MybigInteger mbi = new MybigInteger("1");
        MybigInteger mbi2 = new MybigInteger("0");
        MybigInteger mbi3 = new MybigInteger("1");
        MyLinkedList b = second.itsNumber;
        Node currentforsum = b.first;
        String temp = new String();
        while (true) {
            mbi = mbi.multiply(this);
            mbi2 = mbi2.add(mbi3);

            while (currentforsum != null) {

                temp += currentforsum.value;

                currentforsum = currentforsum.next;

            }
            if (mbi2.toString().equals(temp)) {
                break;
            }

        }

        return mbi;

    }