Change parameter passing to main(args) instead of each argument as its own parameter.