Added the greedy algorithm
Readme Updated