fix escape character support

The escape character bug.
Pending work: working on to support multiple redirections
28 out of 38 passed, failed on redirection and background process
30 out of 38 passed. failed on redirection and background process