Add function that generates a greyscale palette