implement a random algorithm and the Alpha-Beta algorithm for player red