Added implementation for r_set_remove()

Targets #167 .