added contrast and brightness controls in photobooth.py