Update divide to accept an arbitrary number of arguments.