Minimax and Alpha-beta pruning on tick-tack-toe