started implementing jk flipflop