Made the most basic Makefile of life.
Added a function remove new line from user input

Now we don't have to manually check for it each time.

Also cleaned some stuff up and ensured we freed our memory.
Add piping

Parent process can now read output from child process.
Still TODO:
    - pipe commands