copied working version of caesar_cipher for tests