Implementation of the 3Way Cipher