finish the function, which is paint one side of the cube