Create parity.cpp