Greyscale function

Greyscale function is added.