I\'m currently using the stack function, and I don\'t know how to implement linear search into the stack function