Updated add, subtract, and multiply to accept an arbitrary number of arguments.