Where it was marked with "..", if after the 4 the algorithm had given the subsequence "1 2 4" the game would be over.
So this sequence is wrong and it is not minimum. At that point, our algorithm is not recognizing that the number "3" in the table is non-existant, it should not have played "3" after the ".."
After the mark "!" the game would be over, our algorithm did not recognize the game was over and played another "3 1 2"
--------------- NOT ANALYSED yet --------------
Test 5- 50 50 6 2
**Test 7- 5 5 4 3**
Our code gave the sequence:
```
8
1 2 3 4 2 1 3 4
```
This solves the board, but there is a smaller sequence:
```
6
1 2 1 3 4 2
```
Proposed solution: give a **HUGE** bonus to a group that is the last group of that color
**--------------- NOT ANALYSED yet --------------**