finish a simple SR latch
finish a simple SR latch