sim_grid_listw function

Generate spatial weights matrix for a grid