fixed up aiTurn() and playTurn()