Added GreedySearch and modified other Classes to work with this corretly