Assertion function
Merge pull request #2 from Enelar/assert

Assertion function