Task 4
Task 4 : Added Numerical Differentiation