Tabulate definition of function
form 2 table:

 (x+y)%3 0 1 2
0 0 1 2
1 1 2 0
2 2 0 1