Greedy was removed to src and renamed to greedy.m