1. Is this the lft anchor?
    1. Yes
      1. (Init variables)
    2. No
      1. Is this a rgt single?
        1. Yes
          1. This is a rgt single
          2. Is lft == index + 1 ?
          3. Yes
          4. Valid
          5. No
          6. If end(stack) == index + 1
          7. Yes
          8. Valid
          9. Pop rgt off of stack
          10. No
          11. Invalid!
          12. Add info to corrections array
          13. Is rgt == index + 2 ?
          14. Yes
          15. Valid
          16. No
          17. Invalid!
          18. Add info to corrections array
          19. index += 2
        2. No
          1. This is a rgt parent
          2. (Push rgt onto stack)
          3. Is lft == index + 1 ?
          4. Yes
          5. Valid
          6. No
          7. If empty(stack)
          8. Yes
          9. Invalid!
          10. Add info to corrections array
          11. No
          12. If end(stack) == index + 1
          13. Yes
          14. Valid
          15. Pop rgt off of stack
          16. No
          17. Invalid!
          18. Add info to corrections array
          19. Pop rgt off of stack
          20. index++