JK Flip Flop Circuit Output
The JK latches must set have SET and RESET connected.
Do not leave disconnected ( hanging in the air ).
When x=1 and y=1, RESET'S connected to "1" (5v). 
When x&lt;>1 or y&lt;>1, RESET'S and STE'S to "0" (ground)
SET and RESET are active "1"