add example of the variation of remove method

the remove method also accepts key value pair as removal condition