Create greedyalgorithm.py