Performs a Caesar cipher on a string. Works with upper and lower case. Uses the rotate method.