State Diagram to Sequncial Circuit - Search