added search functionality for adding courses to schedule