Newtons method
Trees