You can;t use a switch for two variables, it only works for one.
must evaluate to a single value, which is matched to teh single value in each case statement.
To do what you want, you need a set of
if (i == 0 && j == 1)
else if (i == 1 && j == 1)