After 2 years, I looked at my JPS article again, and noted the code layout is totally broken, all indenting is gone, also in the "page source" of the web page displayed by my browser. Since I used Python, where blocks are denoted by indenting, this makes the code unreadable.
The text also looks a bit weirdly formatted here and there, so more white-space may be missing. Last but not least, in the horizontal/vertical scan explanation, the reference to the ]B[ picture is missing, in my page source it is now "The <i><span style="font-weight:bold;"></i> picture is the same." in stead of "The <i>]B[</i> picture is the same." (I think it was).
Link to the article:
Note the ]B[ has brackets in the wrong way, but the editor doesn't allow it written as it should be, it modifies it to bold text