AI update

Updated the ai to work better, but it is still slow in the initial moves