Encode and decode user input with basic recursive algo