For to 9
For b=0 to 9
For c=0 to 9
For d=0 to 9
X=
If then
print x
End if
Next d
Next c
Next b
Next a