added BMPWriter.py