Created AdaptiveQuadrature.java 

contains class NewtonCotesIntegral