Adding greedy algorithms.