pgm 13.13, ceasar cipher extracted to function that uses a pointer