Added in a random Ai. Tried to simplify checking for a winner.