Made the program accept command line argument for the port to listen on.