n pipes
seems like file redirection is working. memory is handled really poorly  -- need to allocate better