Added a simple parser to parse the emoticon

Added a simple parser to parse the emoticon