Add lexicographic encoding support for negative integers. Currently, the library will (on purpose) trap when attempting to encode integers less than 0