Search functionality

The functionality of search has been implemented.