In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a herd of sheep are standing in the middle of the field'. Replace the letter 'i' with 'g' in the sentence.