Implemented bitarray.