getNeighbors function

Get Neighbours of All Vertices of a Graph