x y z state
0 0 0 0
0 0 1 1
0 1 0 2
0 1 1 3
1 0 0 5
1 0 1 6
1 1 0 7
1 1 1 8
hello I'am trying to write a for loop that will increment and when it does it will go from state 1 to 2 and so on. But this must be done keeping in mind that x,y and z are all variables and cannot be assigned a value. I wish to know how to increment x,y and z to go from 1 state to another. I appriciate any help anyone can give me