changed CompareAlgorithms.py