Diagnoser
To merge the diagnoser branch with the master branch. Edits were made to the diagnoser folder, basic operations folder with the addition of cycle_detection.py, NFA.py with a new function without any warnings, and the generate.py file with a self loop probability added.