Exercise 7 - Encode/Decode Text Class