start to add a c++ version of lbfgs
more work on lbfgs_cpp.

the structure is done and it compiles, but it's not fully working yet
small changes
more work on lbfgs_cpp

nearly there, but there is still a bug
lbfgs_cpp now works

the last bug was I was assing y and s incorrectly