add how 2's complement is implemented in C