Changed valid-triangle? to take varargs