Implemented command-line argument via getopt_long