Add system of disponible values

The algorithm is going to look for the ordering of the disponible values
to fill in the empty cases.
A solution is going to be a list of index, saying for each value, to
which case it corresponds