find_if implemented and test written