Implement #nth-root