basics of sequential logic 5984974