Implement cmp for task
Handle some standard escape codes in strings.
Add a test for escape characters.