add greedy and minmax algorithms