var-ary greatest and least functions,add general support for var-ary functions