Add encodeInt decodeInt function

encodeInt : skip binary number with 111
example: 111 -> 1000
decodeInt is inverse function of encodeInt

decodeInt : O(1)
encodeInt : O(n)