Added new function to my AI, (master function)
Added number of cores to AI feature