Search function now complete

Search function is now completed!