Modify or() to allow more than two arguments

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