Implemented a "halfsubtracter": a xnor gate that also outputs A or B