Maximum number of trains is now passed along to ai.init()
Updated ai.init in documentation