Wrote unit tests with complete code coverage
Fixed minor erros with last commit
Wrote remove method; added extra test cases; made nodes non-deterministic option; removed unnecesary code
Fixed merge conflicts