Move file IO into matip.py instead of main.py
Remove comments
Ignore temp.txt debug file