import math
import sys
import logging
 
#from bitmap import BitMap
#code forces gave me runtime error
# i think it is due to bitmap package i used.
# so i am copying that here.
"""
   File Name: bitmap.py
      Author: Wan Ji
      E-mail: wanji@live.com
  Created on: Thu May  1 15:26:18 2014 CST
"""
DESCRIPTION = """
BitMap class
"""
 
import array
try:
    from past.builtins import xrange
except ImportError:
    pass