Procedural grid pattern?

Trying to find a way to make a Procedural Grid pattern. The Grid Tiles should join side by side not at corners. It’s to move an object along the pattern as a path, which should also have a start and finish point.