Added mark and space parity support.
Merge pull request #30 from cleitner/mark_and_space_parity

Added mark and space parity support