C implementation of successors function
Remove unnecessary files