Own implementation of BitArray class in progress.