Added subroutine syntax_quit()

* Added subroutine syntax_quit():
  * prints syntax message and stops the program