Added implementation of searchNode and searchData