added basic comparison operators
improved assert function