Converting any decimal integer string to 2's complement representation