added link to grid repo
minor changes: docstrings, output uses log instead of print