Implement a bytewise comparator.

Closes #8.