Seems to be working. Testing and implementation of NOT operator needs be.