Basic structure identification implemented

Now every item with a link is counted as part as a structure. That dot there is its center. Still thinking of the most efficient way to check for closed structures. Once we got center identification, we can start doing some real stuff.