So I had to create a 1024*1024 background image consisting of 2 different 64x64 tiles. The script had to choose randomly
between both tiles, with a preference for one over the other. Below is the resulting code. Enjoy!