filled out more comparison and i/o functions

Added input and output functions for unsigned 16-bit and 64-bit integers.
Added comparison callback for unsigned integers.