Hello!
I've tried next coefficient in the program: 1, -2, -1, 1.
So it's the equation x^3 - 2 * x^2 - x + 1 = 0.
And I've got the answers 2.1776150834928703, -2.0236846915106783, -0.15393039198219122.
But the correct answers are -0.80194, 0.55496, 2.2470 (checked in the Wolfram Alpha).
I hope, that this will help you.