Adding board encoding/decoding that fits into the 19 least significant
bits of a 32-bit integer along with unit tests