digital logic circuits examples