Fixed a bug with checkParity.py requiring endline character after last line