added printNeighbours.java