Macro Assertion

Replaced assert(boolean) with macro assert.