Implementation of VowelRotator methods encode and decode