Added functions for the AI
Merge pull request #17 from JeromeLefebvre/master

Added functions for the AI