Java implementation of Caesar Cipher algorithm