Fixed initialization of colors.
Set permissions on created file.
Attempting (unsuccessfully) to find bug which causes the saved bitmap to be all
black.
Ensured that the red, green, and blue values are no more than 6-bits, fixing a
bug in which the saved BMP files appeared all black.