Add sqrt by using newton's method