In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man is walking along a beach and carrying a surfboard'. Replace the letter 'g' with 'q' in the sentence.