Create grid.py

Totally working grid.