Changed arithmetic and calculator to take and arbitrary number of arguments