Added removal of consecutive repeating characters for string_operations.py