Finished the random AI.