Implement class BitMap