Update algorithm.py
Comments cleaning sanitation