Working on Genning a gradient with java, almost complete