Added set.c file and r_set type implementation
Merge pull request #178 from matthiasbeyer/implement-r_set_type

r_set type implementation