placed the search() method within the environment class... Not sure if
this is the right thing to do, but it's an idea. Maybe in SisyphusI?