Completed refactoring the code. May have some performance issues when compared to last version. Don't know why.
Completed refactoring the code. May have some performance issues when compared to last version. Don't know why.

DHDaniel/PyAlgosim