implemented add functionality and tests
Merge pull request #3 from gsemwezi/master

implemented add functionality and tests