konane game logic and AI update

Paul, this is the pull request you asked for.

In order to create a pull request I had to:
1. fork a branch of this repository, 
2. pull a copy locally to my computer, 
3. make changes to the local repository,
4. commit and push the changes to github,
5. go to your repository and start a Pull Request.