Script for generating PNG images of Ulam spirals