Create langtrain.py