API is running. Thanks a lot.

I figured out how to get the API running
(see the thread about the API).

I missed to add the (n+1)th entry of netptr.
Additionallly, I was thinking that edgecut
was used as an array, but only the *number*
of edges on the cut is stored in this variable.

Thanks a lot.