renamed algos.py to scheduler.py