Merge pull request #41 from freshprogrammer/ai

v0.6 Some AI updates
Merge branch 'master' into ai