add a method to liblist : remove_if, remove method with an extra parameter.