REFACTOR Refactor encriptor class to avoid duplicated code in encriptWord and encriptSentence methods