Renamed main to NewtonsMethod
Clean up some things, and make some small changes.

So far, this is pretty good, although I think if I give it parens, it will throw
a fit. I guess that's why you don't use regexes...