Changed the way adjacent cells are handled so they can be accessed easier from outside the class.