added command-line options

-h --help: displays help
-p --port: enter port number