Finding n roots of unity