modified pset2/caesar.c