Added comments to the source files of the AI