separated the Caesar cipher into a standalone function