finding nth roots of a complex number