Consistent distances between two elements in a grid - Kevin Powell - Community