Add __eq__ to Grid class