Added Greed Method