Changed cell_positions to set from list

Order in cell_positions is irrelevant and we want to avoid repeats. A
set is the best choice here