need help with this
Write a scheme function called substitute that takes three inputs (two atoms and a list) and returns the list modified so that each occurrence of the first atom is replaced by the second atom. For example: (substitute 'b 'c '(a b c b)) will evaluate to (a c c c). Store your code in the file substitute.s.
Write a scheme function called substitute that takes three inputs (two atoms and a list) and returns the list modified so that each occurrence of the first atom is replaced by the second atom. For example: (substitute 'b 'c '(a b c b)) will evaluate to (a c c c). Store your code in the file substitute.s.
