Added masterAI function to AI interface.
Implemented masterAI function in AIMaximum class.
Modified masterAI function to take cores parameter.