Add a flip method in BitMap