adding greedy2. does better on example in spec than greedy1, but seg faults on some of the .dat files.