modifies gitignore to include virtual environment files
adds Kac Ring representation logic