GeneratePalettes function

Creates color palettes and saves them as files