Added in 4th unit testable grid

Added in maxLightness to prevent colors getting too dark.