found index of random matrix position selected
found indices and what is in them in the initial matrix
adding function to create vector of types contained in local neighborhood to calculate probability
adding the wrap
wrapping function done!
getting lengths of each vector containing the different types of cells
calculate probability of each cell type in neighborhood
adding change empty cells function but there is a bug