is there a way to have a matrix that stores an int and a boolean at the same time?
Imagine having a matrix: matrix[x, y]
Now, is it somehow possible to do something like this? matrix[2, 1] = 5, true matrix[1, 5] = 2, false
The matrix simply stores an int and a boolean value at the same time.