The goal is to display the following to stdout:
(0,0)
(1,1)
(2,2)
...
(1000000,1000000)
How would you implement that in OCaml? For such a simple task, we
probably expect the program to be IO bound, right? Ok, let's try
with the idiomatic way, which is to use format strings as provided
by the Printf module from OCaml standard library: