Fixing bugs on char translation; testing for arrays