Implemented Greedy Strategy