successfully finding roots of unity