Implemented and tested GridStructure.