Pascal algorithm for Caesar cipher, also from text files