First incorporated version of hasher. Simple tests for binary expressions and constants