Basic grid working!

Now to clean it up, speed it up, and put it in its own class.