Fixed some bugs in the main python file.
Removed the pycache folders.