VX(Li): Add the BitGrid and its unit tests.