This procedure was developed to visualize patterns in the digits of
a real number. It computes up to 1600 digits of a number by defaults
but this can be changed to a maximum of 10000 (2nd argument). It can
also work in other bases besides base 10 (the default) which is
controlled by the 3rd argument. In addition, the default grid is
approximately a square but this can also be changed by the fourth
argument which is the number of columns of the first row.