Switching grid representation to be more versitile.
Merge pull request #1 from mattprintz/master

Switching grid representation to be more versitile.