This is a simulator for doing the xor operation with short flows.