Adding a restriction to loops on vertex

A node can't point to it self.