Implement search in dictionary