Create a perl script to generate training data

  Also we added a README for how to generate training data
Merge branch 'master' of /home/yzhang/EnergySys/simu/constant_power_charging_test