Add example for cppad