Implement the following operators: 1. `handleRedirectOut` 2. `handleAppend` 3. `handleOr` 4. `handleSeq`