implemented recursive ai
Merge branch 'recursive'