Digital logic extra credit project. Performs XOR reduction on input.