Given a string, return a new string where every run of consecutive identical characters is replaced by a single instance of that character. Preserve the original order of characters that remain. Examples: - "aaabbcaaa" -> "abca" - "hello" -> "helo" Write a function that performs this compression and returns the resulting string.
('aaabbcaaa',)'abca'