Implement `difference`.

Closes #9.