addition of add method
changed JUnit tests
updated search method to use recursion