bit n encoded int array <-> int

pack/unpack bit n encoded int number array into/from a big int number