implementation of sequential circuits 9863872