Allows a bool list (no more than 64 in length) to be packed to an integer, which can be unpacked again