Update LPR.cpp

demo() is used to demonstrate the algorithm and evaluate() is used to evaluate the model on test set.