Dividing image into subimages, and finding the brightness of subimage is mostly done. Have to work on some kinks I think.