Created function for searching (BackLog n. 4). Need refactoring....