Added a traindata.py example script for the feature extraction library