Implemented search, insert, and traverse methods