Added greedy solver.