title: A function in Scheme to replace all occurrences of an element in a list with another element
body: <p>I am able to delete the element from a list, but I have no idea how to write a function in Scheme to replace all occurrences of an element in a list with another element.
  Any help will be appreciated.</p>