a program thet solves non-linear equations