I have created a 'save-texture-to-file' function and a 'generate-new-random-texture' function.