changed nthRoot printing