Drupal Search function in custom module

I created a drupal custom module for my website, the module functionality is it display list of students who have registered in my site. Now I want to update my custom module with search functionality, the search function should like google search function.

My custom module look like following structure

Now i want to implement the search function in my custom module when i search using the fields of the table like student name,gender,author name,status.how to do this?