made getAdjacentLocation neater, corrected struct Node location