added items() and test
improved methods for initialization
improved documentation
added eq, degap, and tests