The Art of Storing: Unraveling JK Flip-Flop Memory