CS350 final project, enhance an image using multiple threads