Modify and() to allow more than two arguments.

This adds an arity check to and(). If the arguments array length is not 2, we manually iterate over each argument, applying the && operator.