Paints a grid