Create newton.c

Implementation of newton root finding method