Create SXGrid.m

Pasting in code from Xcode. Damn, GitHub's web interface has gotten pretty sweet.