Basic implementation of Grid.