In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a surfer inside a wave that is about to collapse on his head'. Replace the letter 'l' with 'i' in the sentence.