A simple cipher algorithm