Create MLE.cpp

Training maxent model using gradient methods