Added nthRoot

added nthRoot