Add fn-reduce-right function
Fix collection function arity and add arity check in tests
Add fn-max function
Improve fn-max
Add fn-min function