Fixed neighbouring bug, implementation of addAdjeacent was faulty