I want to swap an element in a 3x3 grid with a random neighbour. But of course some elements have 2 neighbours, some 3 and 1 element has 4 neighbours. As I want to choose a