Finished to doxygened all files.
Add some asserts in AI and Beginner classes.