Update greedy_algorithm.py