added outlet interactions

n-ary functions now add outlets once the ones they have are filled
boxes now appear once the function has sufficient inputs