bare class implementation for LR

This is the skeleton for Logistic Regression. The functions to be completed are transform, trainSGD and train LBFGS. The function transform converts a set of inputs to their corresponding label values. Both trainSGD and trainLBFGS do the actual training and set the internal parameters.