speed up AI
Merge pull request #35 from PhiNotPi/patch-7

drastic speedup of AI