Implement a Caesar cipher method.