add example code for training a new AI.
Merge branch 'master' of https://github.com/zhuww/ubc_AI