Implemented calculating and getting adjacencies. Tests are passing