Digital logic circuit designer and simulator