Changed the comment to
``` 
           If function solve(...) returns false, the return value is
            exactly the maximum iterations.
``` 
Changed the function name to the last suggested one.