Create boolean array and bit vector

bit vector usage for storage efficiency