Create main.py

Added definitions for rows, and columns  block definition uses a dictionary lookup.