We know that $\omega \times \omega$ is isomorphic to $\omega$, but I am not sure if there would exist a finite algorithm mapping from $\omega \times \omega$ to $\omega$. An algorithm would of course be recursive enumerable, if it exists and I am not sure if when given an input that is any set in $\omega \times \omega$ there would be an algorithm that converts it to a unique set in $\omega$.
The algorithm mapping has to be bijective.
By $\omega \times \omega$, I mean cartesian product of $\omega$ with $\omega$. As in set theoretic use. (so $\times$ is not ring/field multiplication!)
The function $f:\mathbb N \times \mathbb N \to \mathbb N-\{0\}$ given by $f(m,n)=2^m\cdot (2n+1)$ (I take $0\in \mathbb N$ by convention) is bijective, so in particular gives an algorithm for a bijective mapping as (I think) you want. Does this answer your question?