Added function to retrieve list of neighbours, i.e. union of the
incoming and the outgoing edge lists.