More functions, commenting and testing

Added equals and copy functions.
Improved commenting for documentation.
And wrote more test cases.
So close to releasing version 1 I am hyped.