Added adjencencies and neighbors to arraylist