Create example.m

Here is an simple example of how to use optLBFGS to solve optimization(min) problem.