Added graphing support with matplotlib

Can now plot the specified function and the trapezoids