new_version("Hello world! My name is Bob.", "Hello world! My Papa is Sam.") should return something like
?16?P?1?pa?4?Sam?1? Where the integer represents how many spaces to skip before making a change. The issue I'm facing is words with different lengths. Replacing Sam with Bill would completely alter the remaining string. I'm wondering if there is a better way than comparing every character as I've done for my prototype.