Suppose that a coordinate grid of size $m \times n$ is given by the list of all pairs $(x, y)$ of integers such that $0 \leqslant x \leqslant m$ and $0 \leqslant y \leqslant n$. Using a list comprehension, define a function grid $::$ Int $\rightarrow$ Int $\rightarrow$ [(Int, Int)] that returns a coordinate grid of a given size. For example:
$$
\begin{aligned}
& >\text { grid } 12 \\
& {[(0,0),(0,1),(0,2),(1,0),(1,1),(1,2)]}
\end{aligned}
$$