A generic Objective-C grid storage structure