update MarkovChainAI; use literal instead of property to determine array length