Implement link() and add a test
Merge pull request #42 from cgjones/implement-link

Implement link() and add a test