Changing my data structure so that cells are immutable and hold some mutable references, instead of having mutable cells.