debug conditional statements implemented, contrast stretch alg imlemented, -w option implemented