4.2 Detect parity error in any number of rows (after each row is entered)

Scratch solution