Add a not parser

Add a not parser and some tests.