Added toString for character class.