Server now checks for invalid direction names

The server will stop parsing and print a pretty message when
it reaches an exit in the file with an invalid direction name.