Updated link.c Clear and Create functions

Don't know if it works yet, but compiles fine so that's a good start.  Need to try and implement Receive and Send now.