Use atoi() to convert arguments into ints.