adding assert implementations, package doc and tests
adding readme