Added not implemented error to greedy.