add greedy algorithms