new file:   createTrainingInstance.py