Changed makefile to use C99 mode.
Add support for pwd and cd commands.

- Revamped method of dealing with different shell commands, keeping
  a table with commands and the functions to call in a table.
- Moved exit() call to the cmd_exit() function, simplifying the main
  function, and removing the need for a return value from parse_input.
- Implemented cd and pwd commands in this new framework.