Refactored Passenger search

- Refactored the passenger search to use one function instead of three.
Merge branch 'master' of git@github.com:COMP-3350-Group-6/Project.git