chmod +x matrix.py