multi-assign function

Assign values to names