Simple LMNN example for the C++ interface

I thought I had already pushed this one, but it seems I didn't. My bad.