Using 2 two-dimensional arrays and 1 1-dimensional array I can't call 'complicated'.
Nor maintaining 22 lines of code of which most of the lines have the pattern x=y.
Even after 7 seven years.