Added run.py for training. Also added a shell script to automate the process.
Merged jingxin.
rewrite example.py