Started grid checking

Added let for the lists of positions of the grids.