Working Copy with debug modes available. so when switch[1:0]=3, switch[4]=1 gives us grayscale, switch[4]=0 gives us black edges. otherwise, switch[4]=1 gives us colorReduced image; switch[4]=0 gives us the edgeDetected image