Added search function and began pagination
Almost done with pagination!