I can think of how to do this but it would get extremely complicated. So I have to turn this:
into 2 arrays:
The first would be:
[[0,0], [0,1], [0,2]] - An array of arrays of numbers
The second would be:
[[1,0], [1,1]] - Another array of arrays of numbers
How can I do this simply and efficiently without doing a whole bunch of string methods and checking?