added contrast method in Color class from gen_photos.py; changed file name generation