an Ulam spiral generator and visualiser in python