Added solution for Problem 51: Prime digit replacements.