Used argparse to read graphs from arguments