Well, I had no way of checking for equality. So I got creative, used a similar style you would with a circuit board, and decremented counters until they both flagged on an underflow at the same time.
That being said, there are a few issues with it. I noticed while playing around that under certain circumstances you can get a right and wrong at the same time. There is just too much stuff to go through to fix it now, so it will probably be left with bugs.
If someone could make events where you could easily check if one print brick was equal to the other this would have been so much easier.